import { defineStore } from 'pinia'

export const useUserInfoStore = defineStore('userInfo', {
    state: () => {
        return {user: {}}
    },
    actions: {
        setUser() {
            this.user = {name: '三个'}
        }
    },
    persist: true
})